﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;

using umbraco.blog4;
#if UMB45
using umbraco.presentation.nodeFactory;
#else
using umbraco.NodeFactory;
#endif

namespace umbraco.blog4.usercontrols {
    public partial class AjaxCommentForm : System.Web.UI.UserControl {
        protected void Page_Load(object sender, EventArgs e) {
            if (Page.IsPostBack) BlogLibrary.CreateComment(Node.GetCurrent().Id);
        }
    }
}
